<!doctype html>
<html lang="en" id="uc_work" v-cloak>
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <title>爱的约定</title>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
    <link rel="stylesheet" href="lib/weui/dist/style/weui.min.css">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/iconfont.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/uc_basicInfo.css">
</head>
<body>
<div class='common-header'>
    <div class='left'>
        <a href="javascript:history.back()">
            <i class='iconfont icon-left'></i>
        </a>
    </div>
    <div class="middle">
        工作学习
    </div>
    <div class="right">
        <a v-on:click="save()">
            保存
        </a>
    </div>
</div>
<ul>
    <li>单位名称<span><input type="text" placeholder="请填写" v-model="req.company"></span></li>
    <li>
        所学专业
        <span>
            <span>{{getName(majorList, req.major)}}</span>
        </span>
        <select v-model="req.major">
            <option v-for="item in majorList" v-bind:value="item.id">{{item.name}}</option>
        </select>
    </li>
    <li>
        工作情况
        <span>
            <span>{{getName(workList, req.work)}}</span>
        </span>
        <select v-model="req.work">
            <option v-for="item in workList" v-bind:value="item.id">{{item.name}}</option>
        </select>
    </li>
    <li>
        公司类型
        <span>
            <span>{{getName(companyTypeList, req.companyType)}}</span>
        </span>
        <select v-model="req.companyType">
            <option v-for="item in companyTypeList" v-bind:value="item.id">{{item.name}}</option>
        </select>
    </li>
    <li>
        收&nbsp;&nbsp;入
        <span>
            <span>{{getName(incomeList, req.income)}}</span>
        </span>
        <select v-model="req.income">
            <option v-for="item in incomeList" v-bind:value="item.id">{{item.name}}</option>
        </select>
    </li>
</ul>
<div class="list">
    <p>语言能力</p>
    <span v-for="item in languageList" v-bind:class="{'checked':isChecked(item)}" v-on:click="pick($index)">
        {{item.name}}
    </span>
</div>
</body>
<script>var app = 'uc_work';</script>
<script data-main="js/common/require_config" src="lib/requirejs/require.js"></script>
</html>